package com.qinsheng.infrastructure.persistent.dao;

import com.qinsheng.infrastructure.persistent.po.RaffleActivityCount;
import com.qinsheng.infrastructure.persistent.po.RaffleActivitySku;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * ClassName: IRaffleActivitySkuDao
 * Description: 商品sku dao
 *
 * @Author: qinsheng1900
 * @Create 2025/2/19 20:03
 * @Version 1.0
 */
@Mapper
public interface IRaffleActivitySkuDao {
    RaffleActivitySku queryActivitySku(Long sku);

    void updateActivitySkuStock(Long sku);

    void clearActivitySkuStock(Long sku);

    List<RaffleActivitySku> queryActivitySkuListByActivityId(Long activityId);
}
